package com.javaee.mapper.user;

import com.javaee.entity.Record;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface URecordMapper {
    //根据用户id分页查找就诊记录
    List<Record> findByUserId(@Param("startIndex") int pageNum, @Param("perPageSize")int pageSize, @Param("uId")int uId);
    int selectCount(int uId);
    //根据就诊记录id查找记录
    Record findARecordById(int id);

}
